package com.app.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 绘本表
 * </p>
 *
 * @author lizi
 * @since 2025-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("huiben_book")
public class HuibenBook implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("title")
    private String title;

    @TableField("cover_url")
    private String coverUrl;

    @TableField("created_at")
    private LocalDateTime createdAt;
    
    @TableField("totalpage")
    private String totalpage;
    
    @TableField("info")
    private String info;
    
    @TableField("love")
    private Integer love;
    
    @TableField("collect")
    private Integer collect;

    
} 